import lombok.Data;

import java.util.ArrayList;

@Data
public class Message {
    String operation;
    Integer index;
    ArrayList<Address> addresses;
    public Message(String operation) {
        this.operation = operation;
    }
    public Message(String operation, Integer index) {
        this.operation = operation;
        this.index = index;
    }
    public Message(String operation, ArrayList<Address> addresses) {
        this.operation = operation;
        this.addresses = addresses;
    }
}
